home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 July / 07_02.iso / software / xq-xsetup / files / setup.exe / {app} / plugins / XQ WinXP 48-bit ATAPI drives 1.xpl < prev    next >
Text File  |  2001-11-18  |  2KB  |  45 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 6.0"
  2. "TYPE"="6"
  3. "COUNT"="1"
  4. "UIPATH"="Hardware\Hard Disk"
  5. "NAME"="48-bit Logical Block Addressing Support"
  6. "LANGUAGE"="VBScript"
  7. "TEXT 1"="Enable 48-bit Logical Addressing Support for ATAPI Disk Drives"
  8. "DESCRIPTION 1"="IMPORTANT! - Requires Windows XP Service Pack 1 - IMPORTANT!"
  9. "DESCRIPTION 2"="If your hard disk is bigger than 137 gigabytes, Windows XP will be unable to take full advantage of it due to its 32-bit LBA support. This tweak allows you to use 48-bit LBA support - place a tick in the box to enable this."
  10. "DESCRIPTION 3"="WARNING: Your system MUST meet these requirements:"
  11. "DESCRIPTION 4"="ò You have a 48-bit LBA compatible BIOS"
  12. "DESCRIPTION 5"="ò You have a hard disk with a capacity greater than 137 gigabytes"
  13. "DESCRIPTION 6"="ò You have Windows XP Service Pack 1 installed"
  14. "DESCRIPTION 7"="Enabling this on systems that do not meet these requirements MAY RESULT IN DATA LOSS! You have been warned!!!"
  15. "DESCRIPTION 8"="For more information, see article Q303013 in the Microsoft Knowledge Base."
  16. "VERSION"="1.0"
  17. "WARNING"="1"
  18. "AUTHOR"="Xteq Systems (Neil R. Turner)"
  19. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved."
  20. "OSVERSION"="000001"
  21. "CONTACTURL"="http://www.xteq.com/"
  22. "ADMINRIGHTS"="1"
  23. "COMMENT 1"="Thanks to CptSiskoX for the tip!"
  24.  
  25. sP="HKLM\System\CurrentControlSet\Services\Atapi\Parameters\EnableBigLba"
  26.  
  27. SUB Plugin_Initialize
  28.  s=RegReadValue(sP)
  29.  if s=1 then
  30.   Call SetUIElement(1,true)
  31.  end if
  32. END SUB
  33.  
  34. SUB Plugin_Apply(ElementIndex,ElementSubIndex)
  35.  s=GetUIElement(1)
  36.  if s=true then
  37.   Call RegWriteValue(sP,1,2)
  38.  else
  39.   Call RegWriteValue(sP,0,2)
  40.  end if
  41. END SUB
  42.  
  43. SUB Plugin_Terminate
  44. END SUB
  45.